<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ page import="java.lang.String"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<s:head />
<sx:head parseContent="true" />

<title>重庆旅游</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link
	href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700|Open+Sans+Condensed:300,700"
	rel="stylesheet" />
<script src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	"js/showDate.js"
</script>
<script type="text/javascript" src="js/myPage.js"></script>
<script
	src="css/5grid/init.js?use=mobile,desktop,1200px,1000px&amp;mobileUI=1&amp;mobileUI.theme=none"></script>
<noscript>
	<link rel="stylesheet" href="css/5grid/core.css" />
	<link rel="stylesheet" href="css/5grid/core-desktop.css" />
	<link rel="stylesheet" href="css/5grid/core-1200px.css" />
	<link rel="stylesheet" href="css/5grid/core-noscript.css" />
	<link rel="stylesheet" href="css/style.css" />
	<link rel="stylesheet" href="css/style-desktop.css" />
	<link rel="stylesheet" href="css/style-1200px.css" />
</noscript>



<!-- writeBolg相关 -->
<link href="../umeditor/themes/default/css/umeditor.css" type="text/css"
	rel="stylesheet">
<script type="text/javascript"
	src="../umeditor/third-party/jquery.min.js"></script>
<script type="text/javascript"
	src="../umeditor/third-party/template.min.js"></script>
<script type="text/javascript" charset="utf-8"
	src="../umeditor/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="../umeditor/umeditor.min.js"></script>
<script type="text/javascript" src="../umeditor/lang/zh-cn/zh-cn.js"></script>

<!-- 新 Bootstrap 核心 CSS 文件 -->
<link
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
<!-- 可选的Bootstrap主题文件（一般不使用） -->
<script
	src="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"></script>
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script
	src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<script type="text/javascript">


	function on_load() {
		var div_myInformation = document.getElementById("myInformation");
		var div_myBolgList = document.getElementById("myBolgList");
		var div_writeBolg = document.getElementById("writeBolg");
		div_myBolgList.style.display = "block";
		div_myInformation.style.display = "none";
		div_writeBolg.style.display = "none";

		Information_show_state();
	}
	function myInformation() {
		var div_myInformation = document.getElementById("myInformation");
		var div_myBolgList = document.getElementById("myBolgList");
		var div_writeBolg = document.getElementById("writeBolg");
		div_myBolgList.style.display = "none";
		div_myInformation.style.display = "block";
		div_writeBolg.display = "none";
	}
	function myBolgList() {
		var div_myInformation = document.getElementById("myInformation");
		var div_myBolgList = document.getElementById("myBolgList");
		var div_writeBolg = document.getElementById("writeBolg");
		div_myBolgList.style.display = "block";
		div_myInformation.style.display = "none";
		div_writeBolg.display = "none";
	}
	function writeBolg() {
		var div_myInformation = document.getElementById("myInformation");
		var div_myBolgList = document.getElementById("myBolgList");
		var div_writeBolg = document.getElementById("writeBolg");
		div_myBolgList.style.display = "none";
		div_myInformation.style.display = "none";
		div_writeBolg.display = "block";
	}
</script>
</head>
<body class="left-sidebar is-desktop is-1200px" onload="on_load()">
	<div id="wrapper" style="height: 700px">

		<div id="content" class="mobileUI-main-content">
			<div id="content-inner">
				<div id="myInformation" class="is-post is-post-excerpt">
				</div>
				<div id="myBolgList" class="is-post is-post-excerpt">
				</div>
				<div id="writeBolg" class="is-post is-post-excerpt">
				</div>
			</div>
		</div>
		<!-- Sidebar -->
		<div id="sidebar">

			<!-- Login -->
			<div id="logo">
				<b>欢迎${sessionScope.username}</b><br> <a
					style="border: 0; margin: 0; padding: 0;" id="my_information"
					href="reg.html"> <img alt="" src=${sessionScope.userImg}></a>

				<div id="user_image"></div>
			</div>

			<!-- Nav -->
			<nav id="nav" class="mobileUI-site-nav">
			<ul>
				<li class="current_page_item"><a href="#">我的小屋</a></li>
				<li><a href="BolgAction!queryBolgList" onclick="myBolgList()">我的博客</a></li>
				<li><a href="UsersAction!getInfomation" onclick="myInformation()">我的信息</a></li>
				<li><a href="/ChongQingLvYou/myHome/writeBolg.jsp" onclick="writeBolg()">撰写博客</a></li>
			</ul>
			</nav>

			<!-- Text -->
			<section class="is-text-style1">
			<div class="inner">
				<script>
					function mytime() {
						var a = new Date();
						var b = a.toLocaleTimeString();
						var c = a.toLocaleDateString();
						document.getElementById("time1").innerHTML = c
								+ "&nbsp;&nbsp;" + b;
					}
					setInterval(function() {
						mytime()
					}, 1000);
				</script>
				<p id="time1" style="color: white; font-size: 16px;"></p>
			</div>
			</section>

		</div>
		<!-- Copyright -->
		<div id="copyright">
			<p>
				© <b color="#ff0000">2017 王俊杰 唐朋 朱淑芳.</b>
			</p>
		</div>
	</div>


	<div style="display: none">
		<script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540'
			language='JavaScript' charset='gb2312'></script>
	</div>
</body>
</html>